/**
 * Created by Mark_ren on 2016/11/28.
 * 苟富贵,無相忘
 */
var express = require('express');
var router = express.Router();
var qdArticleController = require("../../api/v2.0/admin/qdArticle_controller.js");


router.get('/', qdArticleController.getQdArticlePage);

router.get('/:id', qdArticleController.getQdArticleById);

router.post('/', qdArticleController.addQdArticle);

router.post('/:id', qdArticleController.updateQdArticle);

router.delete('/', qdArticleController.deleteQdArticle);

module.exports = router;